﻿<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
	Dimok.Aspx.Manager.UOX uox = new Dimok.Aspx.Manager.UOX();
	protected override void OnLoad(EventArgs e) {
		base.OnLoad(e);
		body.InnerHtml = 
			Request["UsixID"]+"<br>"
			+ 
			Data.SQL.ExecuteDataset(
			"SELECT Name FROM usix.t_CustomerFile_Export WHERE [Customer #]=@CID", Request["UsixID"]).Tables[0].Rows[0]["Name"];
		Response.ContentType = Dimok.Images.Enums.CONTENT_TYPES_WORD;
		Response.AddHeader("Content-Disposition", "attachment; filename=\"Dimok.doc\"");
	}
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body style="" id="body" RunAt="server">
</body>
</html>
